package com.btl.service.client.biz.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 文档表
 * </p>
 *
 * @author Tim
 * @since 2025-08-14
 */
@Getter
@Setter
@TableName("kw_document")
public class KwDocument implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 知识库 id
     */
    @TableId("id")
    private Long id;

    /**
     * 字符数
     */
    @TableField("code_point_count")
    private Integer codePointCount;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 文件名称
     */
    @TableField("file_name")
    private String fileName;

    /**
     * 分段数
     */
    @TableField("segment_count")
    private Integer segmentCount;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;

    /**
     * 子账号id
     */
    @TableField("child_id")
    private Long childId;
}
